package com.tmc.bean.common;

public class ContextInfo {

	private String username;
	private Long userId;
	private String token;
	private Integer vipLevel;

	public ContextInfo() {
        
	}

	public ContextInfo(String username, Long userId, String token) {
		this.username = username;
		this.userId = userId;
		this.token = token;
	}

	public static ContextInfo getTimerContextInfo() {
		return new ContextInfo("-1", -1L, "-1");
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Integer getVipLevel() {
		return vipLevel;
	}

	public void setVipLevel(Integer vipLevel) {
		this.vipLevel = vipLevel;
	}
	
}
